package org.glandais.birt.osgi.designer.impl;

import java.util.Properties;

import org.eclipse.datatools.connectivity.oda.design.ui.wizards.DataSourceEditorPage;
import org.eclipse.swt.widgets.Composite;

public class OSGiDataSourceEditorPage extends DataSourceEditorPage {

	private OSGiDataSourcePageHelper dataSourcePageHelper;

	public OSGiDataSourceEditorPage() {
		super();
		dataSourcePageHelper = new OSGiDataSourcePageHelper(this);
	}

	@Override
	public Properties collectCustomProperties(Properties dataSourceProps) {
		return dataSourcePageHelper.collectCustomProperties();
	}

	@Override
	protected void createAndInitCustomControl(Composite parent,
			Properties profileProps) {
		dataSourcePageHelper.createAndInitCustomControl(parent, profileProps);
	}

}
